<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>

<%
	request.setAttribute("title", "数据详情");
	request.setAttribute("modelConfigPath", "studentManager");
%>

<%@ include file="/WEB-INF/views/shared/master/contentHeader.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/index.jsp"%>
<t:panel cssClass="panel-flat form-detailed" customBody="true"
	customHead="true">
	<div class="detailed-navbar-content panel-body">
		<t:form commandName="data" action="/admin/experimentExcel/data/save"
			method="post" cssClass="form-horizontal">
			<div class="hide">
				<t:hidden path="id" />
				<t:hidden path="excelId" />
			</div>
			<t:formgroup>
				<t:label path="version" cssClass="col-sm-2" />
				<t:input path="version" colClass="col-sm-4" />
				<t:label path="markValue" style="display:none" cssClass="col-sm-2" />
				<t:input path="markValue" type="hidden" colClass="col-sm-4" />
			</t:formgroup>
		</t:form>
		
	</div>
		<c:import url="output3.jsp" />
	<t:panelFoot headingBtnCssClass="heading-btn pull-right-important">
		<t:button icon="icon-floppy-disk" onclick="saveData()"
			cssClass="btn-info" csize="sm">保存</t:button>
	</t:panelFoot>
</t:panel>
<script type="text/javascript">
	$(function() {	
		init();
		reload();
	});

	function saveData() {	
		var excelId =$.getUrlParam("excelId");
		$("#excelId").val(excelId);
		c.log(excelId+"898989");
		var data=$("form:first").serialize();
		var url= $.getVirtualPath() + "/admin/experimentExcel/data/save";
		$.ajax({
			url:url,
			type:'post',
			data:data,
			asyac:false,
			success:function(){	
				saveForm();
				//$("#experimentExcel_form").formSubmit();	
			}
		})
		
	}
</script>

<%@ include file="/WEB-INF/views/shared/base/scripts/jqueryui.jsp"%>
<%@ include
	file="/WEB-INF/views/shared/base/scripts/limitless/default/formselects.jsp"%>
<%@ include
	file="/WEB-INF/views/shared/base/scripts/limitless/default/formstyling.jsp"%>
<%@ include
	file="/WEB-INF/views/shared/base/scripts/limitless/default/formpickers.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/cntable.jsp"%>
<%@ include
	file="/WEB-INF/views/shared/base/scripts/limitless/default/formbuttons.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/dialog.jsp"%>
<%@ include file="/WEB-INF/views/shared/master/contentFooter.jsp"%>

